﻿<UserControl x:Class="SLCalc.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:calc="clr-namespace:UControls"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White" Margin="20" ShowGridLines="False">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="2*" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="2*" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Text="Silverlight Calculator ver 1.0.0.2" FontSize="16" Padding="4"
                   FontWeight="Bold"
                   Grid.Row="0" 
                   Grid.Column="1" TextAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
        <calc:ucCalculator Grid.Column="1" Grid.Row="1" Margin="10" />
    </Grid>
</UserControl>
